package en.edu.zua.demo01.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 说明：
 *
 * @author ascend
 * 2019/1/22 17:39
 */
@RestController
@RequestMapping
public class HelloWorldController {
    /**
     * 测试输出HelloWord
     *
     * @return Hello World
     */
    @GetMapping("/index")
    public String index() {
        return "HelloWord";
    }
}
